import React from 'react';
export default function SvgIcon({ active }) {
	switch (active) {
		case 1:
			return (
				<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
						<g id="任务" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
								<g id="监测任务管理-可用性监测" transform="translate(-333.000000, -265.000000)" fill="#0B6FD6">
										<g id="编组-21" transform="translate(256.000000, 190.000000)">
												<g id="编组-20" transform="translate(77.000000, 28.000000)">
														<g id="编组-7" transform="translate(0.000000, 46.000000)">
																<g id="3.Icon/1.线性/2.业务安全类/暗网" transform="translate(0.000000, 1.000000)">
																		<path d="M9,0 C13.9705627,0 18,4.02943725 18,9 C18,13.9705627 13.9307234,18 9,18 C4.02943725,18 0,13.9705627 0,9 C0,4.02943725 4.02943725,0 9,0 Z M6.03733228,13.4990639 C5.99670489,14.4556895 6.11940558,15.2993521 6.8888151,16.1987654 C7.5584707,16.3948336 8.26695388,16.5 9,16.5 C10.9217443,16.5 12.6746745,15.7772207 14.0017782,14.5886742 C12.1944653,14.7574319 10.2143346,14.4491941 7.22294211,13.1389444 C6.9508682,13.3154528 6.77824402,13.4347759 6.03733228,13.4990639 Z M1.50370734,8.75592143 C1.50370734,11.656553 2.75860823,13.7779052 4.6852416,15.1353291 C4.54248956,14.5343286 4.48946655,13.9997865 4.56898157,12.9863666 C4.06881574,12.5736849 3.75,12.0663414 3.75769301,11.062601 C2.56654191,10.0569542 1.81521336,9.28806105 1.50370734,8.75592143 Z M9.75,7.5 C9.39963139,7.5 9.0679673,7.41991639 8.77231388,7.27705529 C8.51468316,7.58130846 8.27135998,7.89704023 8.04051372,8.22672286 C7.92716911,8.38859573 7.6803198,8.7841267 7.29996578,9.41331575 C7.87482833,9.8209306 8.25,10.4916523 8.25,11.25 C8.25,11.4788345 8.21583855,11.6996902 8.15233723,11.9077454 C11.7978509,13.5056072 15.2435996,13.3618123 15.7917523,12.1870711 C16.3399051,11.0123299 14.9488576,8.91050376 11.3504145,6.83151024 C10.9425222,7.24424757 10.3761282,7.5 9.75,7.5 Z M6,10.5 C5.58578644,10.5 5.25,10.8357864 5.25,11.25 C5.25,11.6642136 5.58578644,12 6,12 C6.41421356,12 6.75,11.6642136 6.75,11.25 C6.75,10.8357864 6.41421356,10.5 6,10.5 Z M2.20535214,5.83095287 C1.81668821,6.66444535 2.60316196,8.167811 4.40985684,9.65685746 C4.77494779,9.29373453 5.26358184,9.05424747 5.80732776,9.008134 C6.27420664,8.18786544 6.52770193,7.77207182 6.81178566,7.3663582 C7.06889809,6.99916359 7.34022303,6.64709723 7.71304719,6.20693178 C7.57941102,5.92296436 7.50340692,5.60651745 7.50011182,5.272668 C4.73047986,4.55967904 2.65092997,4.87540813 2.20535214,5.83095287 Z M11.9347578,4.70990247 C11.977387,4.88292231 12.0117874,5.15803528 11.9894069,5.46973678 C14.0738125,6.61147582 15.5933221,7.93198728 16.4964429,9.23645319 C16.4964429,6.45555173 15.6954294,5.10987752 14.7273434,4.29148082 C13.5601208,4.15294119 13.0874483,4.19607413 11.9347578,4.70990247 Z M9.75,4.5 C9.33578644,4.5 9,4.83578644 9,5.25 C9,5.66421356 9.33578644,6 9.75,6 C10.1642136,6 10.5,5.66421356 10.5,5.25 C10.5,4.83578644 10.1642136,4.5 9.75,4.5 Z M9,1.5 C7.07789193,1.5 5.32466193,2.22305299 3.99746819,3.41200079 C5.10491822,3.30963481 6.24724098,3.39978669 7.98899999,3.84936867 C8.40122895,3.33176453 9.0368706,3 9.75,3 C10.255458,3 10.7219876,3.16667229 11.0976275,3.44805561 C11.9409022,3.04273469 12.5515978,2.84221533 13.1398804,2.74513647 C11.9531806,1.95819861 10.5300993,1.5 9,1.5 Z" id="形状"></path>
																</g>
														</g>
												</g>
										</g>
								</g>
						</g>
				</svg>
			);
		case 2:
			return (
				<svg width="18px" height="17px" viewBox="0 0 18 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
						<g id="任务" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
								<g id="监测任务管理-可用性监测" transform="translate(-596.000000, -266.000000)" fill="#0B6FD6">
										<g id="编组-21" transform="translate(256.000000, 190.000000)">
												<g id="编组-20" transform="translate(77.000000, 28.000000)">
														<g id="编组-18" transform="translate(263.000000, 0.000000)">
																<g id="编组-12" transform="translate(0.000000, 46.000000)">
																		<g id="3.Icon/1.线性/2.业务安全类/系统监控" transform="translate(0.000000, 2.000000)">
																				<path d="M16.3636364,0 C17.267375,0 18,0.743031559 18,1.65960744 L18,10.7874483 C18,11.7040242 17.267375,12.4470558 16.3636364,12.4470558 L9.81818182,12.4470558 L9.81818182,14.9364669 L16.474941,14.9364669 L16.474941,16.5960744 L1.74766825,16.5960744 L1.74766825,14.9364669 L8.18181818,14.9356371 L8.18181818,12.4470558 L1.63636364,12.4470558 C0.732624955,12.4470558 0,11.7040242 0,10.7874483 L0,1.65960744 C0,0.743031559 0.732624955,0 1.63636364,0 L16.3636364,0 Z M1.63636364,10.7874483 L16.3636364,10.7874483 L16.3636364,7.29812371 L7.30698488,7.29888917 L6.56358224,6.46909864 L4.34113994,8.91467354 L3.5220046,7.29888917 L1.63636364,7.29812371 L1.63636364,10.7874483 Z M16.3636364,1.65960744 L1.63636364,1.65960744 L1.63636364,5.63851627 L2.49803219,5.63928173 L3.76405432,3.57154629 L4.84341048,6.04731896 L6.47135949,4.11263266 L7.80177354,5.63928173 L16.3636364,5.63851627 L16.3636364,1.65960744 Z" id="形状"></path>
																		</g>
																</g>
														</g>
												</g>
										</g>
								</g>
						</g>
				</svg>
			);
		case 3:
			return (
				<svg width="19px" height="19px" viewBox="0 0 19 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
						<g id="任务" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
								<g id="按任务展示" transform="translate(-837.000000, -267.000000)" fill="#11AB4E">
										<g id="编组-14" transform="translate(837.000000, 220.000000)">
												<g id="编组-11" transform="translate(0.000000, 46.000000)">
														<g id="3.Icon/1.线性/4.操作编辑类/正确" transform="translate(0.000000, 1.000000)">
																<path d="M9.5,0.875 C14.263456,0.875 18.125,4.73654403 18.125,9.5 C18.125,14.263456 14.263456,18.125 9.5,18.125 C4.73654403,18.125 0.875,14.263456 0.875,9.5 C0.875,4.73654403 4.73654403,0.875 9.5,0.875 Z M9.5,2.3125 C5.53045336,2.3125 2.3125,5.53045336 2.3125,9.5 C2.3125,13.4695466 5.53045336,16.6875 9.5,16.6875 C13.4695466,16.6875 16.6875,13.4695466 16.6875,9.5 C16.6875,5.53045336 13.4695466,2.3125 9.5,2.3125 Z M13.616944,6.79939799 L14.63341,7.81586399 L8.53461399,13.91466 L4.46875,9.84879599 L5.485216,8.83232999 L8.534,11.8812188 L13.616944,6.79939799 Z" id="形状"></path>
														</g>
												</g>
										</g>
								</g>
						</g>
				</svg>
			);
		case 4:
			return (
				<svg width="21px" height="21px" viewBox="0 0 21 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink">
						<g id="任务" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
								<g id="按任务展示" transform="translate(-1118.000000, -266.000000)" fill="#FF0000">
										<g id="编组-12" transform="translate(1118.000000, 220.000000)">
												<g id="3.Icon/1.线性/4.操作编辑类/错误" transform="translate(0.000000, 46.000000)">
														<path d="M10.5,0 C16.2989899,0 21,4.70101013 21,10.5 C21,16.2989899 16.2989899,21 10.5,21 C4.70101013,21 0,16.2989899 0,10.5 C0,4.70101013 4.70101013,0 10.5,0 Z M10.5,1.75 C5.66750844,1.75 1.75,5.66750844 1.75,10.5 C1.75,15.3324916 5.66750844,19.25 10.5,19.25 C15.3324916,19.25 19.25,15.3324916 19.25,10.5 C19.25,5.66750844 15.3324916,1.75 10.5,1.75 Z M14.2123106,5.55025253 L15.4497475,6.7876894 L11.73725,10.5 L15.4497475,14.2123106 L14.2123106,15.4497475 L10.5,11.73725 L6.7876894,15.4497475 L5.55025253,14.2123106 L9.26275,10.5 L5.55025253,6.7876894 L6.7876894,5.55025253 L10.5,9.26275 L14.2123106,5.55025253 Z" id="形状"></path>
												</g>
										</g>
								</g>
						</g>
				</svg>
			);
		default:
			break;
	}
}
